home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / libogg / libogg-1.0rc3 / libogg.spec < prev    next >
Encoding:
Text File  |  2002-10-27  |  1.8 KB  |  86 lines

  1. %define name    libogg
  2. %define version    1.0rc3
  3. %define release 1
  4.  
  5. Summary:    Ogg Bitstream Library
  6. Name:        %{name}
  7. Version:    %{version}
  8. Release:    %{release}
  9. Group:        Libraries/Multimedia
  10. Copyright:    LGPL
  11. URL:        http://www.xiph.org/
  12. Vendor:        Xiphophorus <team@xiph.org>
  13. Source:        ftp://ftp.xiph.org/pub/ogg/%{name}-%{version}.tar.gz
  14. BuildRoot:    %{_tmppath}/%{name}-root
  15. Prefix:        %{_prefix}
  16.  
  17. %description
  18. Libogg is a library for manipulating ogg bitstreams.  It handles
  19. both making ogg bitstreams and getting packets from ogg bitstreams.
  20.  
  21. %package devel
  22. Summary: Ogg Bitstream Library Development
  23. Group: Development/Libraries
  24. Requires: libogg = %{version}
  25.  
  26. %description devel
  27. The libogg-devel package contains the header files and documentation
  28. needed to develop applications with libogg.
  29.  
  30. %prep
  31. %setup -q -n %{name}-%{version}
  32.  
  33. %build
  34. if [ ! -f configure ]; then
  35.   CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{_prefix}
  36. else
  37.   CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
  38. fi
  39. make
  40.  
  41. %install
  42. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  43. make DESTDIR=$RPM_BUILD_ROOT install
  44.  
  45. %files
  46. %defattr(-,root,root)
  47. %doc AUTHORS
  48. %doc CHANGES
  49. %doc COPYING
  50. %doc README
  51. %{_libdir}/libogg.so.*
  52.  
  53. %files devel
  54. %doc doc/index.html
  55. %doc doc/framing.html
  56. %doc doc/oggstream.html
  57. %doc doc/white-ogg.png
  58. %doc doc/white-xifish.png
  59. %doc doc/stream.png
  60. %doc doc/ogg
  61. %{_includedir}/ogg/ogg.h
  62. %{_includedir}/ogg/os_types.h
  63. %{_includedir}/ogg/config_types.h
  64. %{_libdir}/libogg.a
  65. %{_libdir}/libogg.so
  66. %{_datadir}/aclocal/ogg.m4
  67.  
  68. %clean 
  69. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  70.  
  71. %post
  72. /sbin/ldconfig
  73.  
  74. %postun
  75. /sbin/ldconfig
  76.  
  77. %changelog
  78. * Tue Dec 18 2001 Jack Moffitt <jack@xiph.org>
  79. - Update for RC3 release
  80.  
  81. * Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
  82. - add support for configurable prefixes
  83.  
  84. * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
  85. - initial spec file created
  86.